<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%--
	auth : Conner
	date : 2012-09-10
	desc : 系统消息设置明细
--%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<jsp:include page="/admin/common/css/style_sub.jsp"></jsp:include>
<script type="text/javascript" src="<%=basePath%>js/public.js"></script>
<link rel="stylesheet" type="text/css" href="<%=basePath%>js/lib/validation/css/livevalidation.css" />
<script type="text/javascript" src="<%=basePath%>js/lib/validation/livevalidation.js"></script>
<script type="text/javascript" src="<%=basePath%>js/lib/jquery/jquery-1.7.1.min.js"></script>
<script language="javascript">
</script>
</head>
<body>
	<div class="title">系统消息设置明细</div>
	<div class="editorTab">
		<table>
			<tbody>
				<tr>
					<th>类型编号</th>
					<td><s:property value="%{sysSetInfo.bCode }"/></td>
				</tr>
				<tr>
					<th>默认提示内容</th>
					<td><s:property value="%{sysSetInfo.infoCotent }"/></td>
				</tr>
				<tr>
					<th>当前状态</th>
					<td>
						<s:if test='%{sysSetInfo.state == "1"}'>
							<img src="<%=basePath %>style/icons/ok.png" title="启用" alt="启用"/>
						</s:if>
						<s:elseif test='%{sysSetInfo.state == "2"}'>
							<img src="<%=basePath %>style/icons/pause.png" title="停用" 	alt="停用"/>
						</s:elseif>
					</td>
				</tr>
				<tr>
					<th>短信提醒</th>
					<td>
						<s:if test='%{sysSetInfo.isNote == "1"}'>是</s:if>
						<s:elseif test='%{sysSetInfo.isNote == "2"}'>否</s:elseif>
					</td>
				</tr>
				<tr>
					<th>间隔时间(单位：毫秒)</th>
					<td><s:property value="%{sysSetInfo.spTime }"/></td>
				</tr>
				<tr>
					<th>首次提醒</th>
					<td>
						<s:if test='%{sysSetInfo.isFirst == "1"}'>是</s:if>
						<s:elseif test='%{sysSetInfo.isFirst == "2"}'>否</s:elseif>
					</td>
				</tr>
				<tr>
					<th>最大提醒次数</th>
					<td>
						<s:if test='%{sysSetInfo.cueTime == "0"}'>不限制</s:if>
						<s:else>${cueTime }</s:else>
					</td>
				</tr>
				<tr>
					<th>查看URL</th>
					<td><s:property value="%{sysSetInfo.url }"/></td>
				</tr>
				<tr>
					<th>备注</th>
					<td><s:property value="%{sysSetInfo.remark }"/></td>
				</tr>
			</tbody>
		</table>
	</div>
	<div class="btns">
		<span class="btn">
			<input type="button" id="cancelBtn" value="返回" 
				onclick="javascript:window.history.back();"/>
		</span>
	</div>
</body>
</html>
